﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace JXT.PrimaryKey.Batman.Core.Configuration
{
    /// <summary>
    /// 虚拟交易所配置节点
    /// </summary>
    public class VirtualExchangeConfigurationElement : ConfigurationElement
    {
        /// <summary>
        /// 管理用户名
        /// </summary>
        [ConfigurationProperty("managerName", IsRequired = true)]
        public string ManagerName
        {
            get { return this["managerName"] as String; }
            set { this["managerName"] = value; }
        }

        /// <summary>
        /// 管理密码
        /// </summary>
        [ConfigurationProperty("managerPassword", IsRequired = true)]
        public string ManagerPassword
        {
            get { return this["managerPassword"] as String; }
            set { this["managerPassword"] = value; }
        }
    }
}
